5 CLS:PRINT "- TI 57 V1.00 - (c) Wtel 1990";CHR$(13);
6 PRINT "*:DEL,H:HLP,NoProg,C:CAT:";:INPUT@(3);N$:IF N$="" THEN GOTO 5
7 IF N$="C" THEN1 ERASE P$:DIM P$(255):N$=""
2 ON ERROR GOTO 1000
5 CLS:PRINT "- TI 57 V1.00 - (c) Wtel 1990";CHR$(13);
6 PRINT "*:DEL,H:HLP,NoProg,C:CAT:";:INPUT@(3);N$:IF N$="" THEN GOTO 5
7 IF N$="C" THEN GOSUB 500:GOTO 5
8 IF N$="*" THEN GOSUB 600:GOTO 5
9 IF N$="H" THEN GOSUB 700:GOTO 5
10 RESTORE#:RESTORE# "P"+N$:READ# A$:C=-1:NE=0
15 READ# A$:IF LEFT$(A$,1)<>"#" THEN PRINT "Le debut du programme doit com- mencer par #.":END
20 C=C+1:READ# L$:L=LEN(L$):IF L>8 THEN L$=LEFT$(L$,8):IF RIGHT$(L$,1)=" " AND LEFT$(L$,1)<>"-" THEN L$=LEFT$(L$,5) ELSE IF RIGHT$(L$,1)=" " THEN L$=LEFT$(L$,6)
21 IF L>8 THEN IF RIGHT$(L$,1)=" " AND LEFT$(L$,1)<>"-" THEN L$=LEFT$(L$,2) ELSE IF RIGHT$(L$,1)=" " THEN L$=LEFT$(L$,3)
25 IF L$<>"." THEN GOSUB #0:P$(C)=LEFT$(L$+" ",11)+LEFT$(S$+" ",15)+STR$(C):GOTO 20
27 C=C-1:CLS
30 PRINT "Sauvegarde ds MEMO... Entrez Nom:";
40 INPUT@(31);$:IF LEN($)>31 THEN "Trop long":GOTO 30
45 IF $="" THEN RESTORE#:RESTORE# "P"+N$:READ# A$,$:$=MID$($,2,31)
47 $="#"+$
50 RESTORE#:RESTORE# "P"+N$:READ# A$
51 IF C<48 THEN P=1
52 IF C<40 THEN P=2
53 IF C<32 THEN P=3
54 IF C<24 THEN P=4
55 IF C<16 THEN P=5
56 IF C<08 THEN P=6
57 IF C>47 THEN P=-1
58 IF C=-1 THEN P=7
60 IF P<>0 THEN $=LEFT$($+" ",32)+"2nd Part"+STR$(P)
70 IF P=0 THEN $=LEFT$($+" ",32)+"Attention plus de 47 pas."